package com.ethink.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.order.api.info.TocSaleAfterImportLogDetailInfo;
import com.ethink.order.api.info.TocSaleAfterImportLogInfo;
import com.ethink.order.api.request.TocSaleAfterImportLogAddRequest;
import com.ethink.order.api.request.TocSaleAfterImportLogQueryRequest;
import com.ethink.order.api.request.TocSaleAfterImportLogUpdateRequest;
import com.ethink.order.api.request.UpdateStatusBaseRequest;
import com.ethink.order.api.response.TocSaleAfterImportLogAddResponse;
import com.ethink.order.api.response.TocSaleAfterImportLogDeleteResponse;
import com.ethink.order.api.response.TocSaleAfterImportLogGetResponse;
import com.ethink.order.api.response.TocSaleAfterImportLogUpdateResponse;
import java.util.List;

/**
 * TOC售后导入日志 Service接口
 *
 * @author default
 * @date 2023-01-10
 */
public interface TocSaleAfterImportLogService {

    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Page<TocSaleAfterImportLogInfo> queryTocSaleAfterImportLog(TocSaleAfterImportLogQueryRequest request);

    /**
     * 查询详情
     *
     * @param id
     * @return
     */
    TocSaleAfterImportLogGetResponse getTocSaleAfterImportLogById(Long id);

    /**
     * 查询列表
     *
     * @param request
     * @return
     */
    List<TocSaleAfterImportLogInfo> listTocSaleAfterImportLog(TocSaleAfterImportLogQueryRequest request);

    /**
     * 新增
     *
     * @param request
     * @return
     */
    TocSaleAfterImportLogAddResponse addTocSaleAfterImportLog(TocSaleAfterImportLogAddRequest request);

    /**
     * 修改
     *
     * @param request
     * @return
     */
    TocSaleAfterImportLogUpdateResponse updateTocSaleAfterImportLog(TocSaleAfterImportLogUpdateRequest request);

    /**
     * 删除
     *
     * @param tocSaleAfterImportLogId
     * @return
     */
    TocSaleAfterImportLogDeleteResponse deleteTocSaleAfterImportLog(Long tocSaleAfterImportLogId);

    List<TocSaleAfterImportLogDetailInfo> queryDetailListByLogId(Long id);

    void updateStatus(UpdateStatusBaseRequest updateStatusBaseRequest);

}